<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		function get_sum(num) {
			sum = 0;
			for (var i = 1; i <= num; i++) {
				sum +=i;	
			}
			return sum;
		}
		res = get_sum(100);

		document.write(res);


		document.write("<br>");

		function d(str) {
			document.write(str);
		}

		d("学并思");
		d("学并思");
		d("学并思");

		

		









	</script>
</head>
<body>
	
</body>
</html>